package com.example.hosptial.model.view;

import jakarta.persistence.*;
import lombok.Data;
import org.hibernate.annotations.Immutable;

@Data
@Entity
@Immutable
@Table(name = "doctorview")
public class DoctorView {
    @Id
    private String doctorId;

    private String doctorPassword;
    private String doctorName;
    private String doctorGender;
    private Integer doctorAge;
    private String doctorPhone;
    private String doctorIdCard;
    private Integer deptId;
    private String deptName;
}